//
//  YZClearUIView.m
//  app
//
//  Created by mac on 2021/7/29.
//

#import "YZClearUIView.h"

@implementation YZClearUIView

- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
    UIView * hitView = [super hitTest:point withEvent:event];
    if (hitView == self) {
        return nil;
    }
    return hitView;
}
- (instancetype)init
{
    self = [super init];
    if (self) {
        self.userInteractionEnabled = YES;
        self.backgroundColor = [UIColor clearColor];
    }
    return self;
}
@end
